package vns.client.service;

import java.util.ArrayList;
import java.util.List;

import vns.shared.RuleParamDTO;
import vns.shared.RuleSetDTO;

import com.google.appengine.api.datastore.Key;
import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

@RemoteServiceRelativePath("rulesetService")
public interface RuleSetService extends RemoteService {
	RuleSetDTO Create(RuleSetDTO rulesetDTo);
	boolean Remove(Key id);
	RuleSetDTO Loadbyid(Key id);
	RuleSetDTO Update(RuleSetDTO rulesetDTO);
	ArrayList<RuleSetDTO> Loadall();
	void Updateall(List<RuleSetDTO> listNew);
}
